Skip to content

etcd controller detect ghost member and update EtcdIsVoter condition #11232

Closed
mogliang wants to merge 2 commits intok3s-io:mainfrom
mogliang:mog/etcdfix
Closed

etcd controller detect ghost member and update EtcdIsVoter condition #11232
mogliang wants to merge 2 commits intok3s-io:mainfrom
mogliang:mog/etcdfix

Conversation

@mogliang
Copy link
Copy Markdown

@mogliang mogliang commented Nov 5, 2024

Proposed Changes

When etcd controller detects ghost member (a etcd member which don't belong to any k3s node), it set all controlplane node EtcdIsVoter condition to false with reason UnknownMember.

Types of Changes

Bugfix for issue #11231

Verification

  1. create 3 controlplane node k3s cluster
  2. shutdown 1 controlplane machine and delete that node by kubectl delete node
  3. check node by kubectl get node -oyaml, the cp node EtcdIsVoter condition shall in false status with reason UnknownMember

Testing

TODO

Linked Issues

#11231

User-Facing Change

NONE

Further Comments

qi liang added 2 commits November 5, 2024 10:40
Signed-off-by: qi liang <qliang@microsoft.com>
fix
Signed-off-by: qi liang <qliang@microsoft.com>
@brandond
Copy link
Copy Markdown
Member

brandond commented Mar 7, 2026

Please reopen if you'd like to move forward with this. Closing since it is 2 years old and has not moved out of draft.

@brandond brandond closed this Mar 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants